from drg_group.foshan_2022.Base import message,intersect,has_mcc,has_cc,SS_VALID

def group(record):
  adrg_zd=["G45.102","G45.800x003","I63.000","I63.001","I63.002","I63.003","I63.100","I63.101","I63.102","I63.103","I63.200","I63.201","I63.202","I63.203","I63.204","I63.205","I63.206","I63.207","I63.208","I63.300","I63.401","I63.402","I63.500x002","I63.500","I63.501","I63.502","I63.600x001","I63.801","I63.900x007","I63.900","I63.901","I63.902","I63.903","I63.904","I63.905","I63.906","I63.907","I63.908","I63.909","I65.000x004","I65.002","I65.100x004","I65.101","I65.200x009","I65.200x012","I65.200x013","I65.200x015","I65.203","I65.205","I65.207","I65.208","I65.300x001","I65.300x002","I65.800x007","I65.900x001","I65.900x003","I66.002","I66.102","I66.200x002","I66.201","I66.300x005","I66.300x008","I66.300x011","I66.300x014","I66.300x015","I66.302","I66.400x002","I66.400","I66.401","I66.800x001","I66.800x004","I66.800x006","I66.800x007","I66.800x008","I66.900x003","I67.800x005"]
  adrg_zd1=[]
  adrg_ss=[]
  adrg_ss1=[]
  adrg_ss2=[]
  if True and record.zdList[0] in adrg_zd:
    message('符合BR23入组条件，匹配规则：主诊断匹配')
    return True